package edu.ctbu.insurance.service;

import edu.ctbu.insurance.bean.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author djl
 * @since 2024-06-28
 */
public interface UserService extends IService<User> {
    /**
     * 创建新账户
     */
    String createUser();

    boolean login(String userAccount, String userPwd);

    List<User> getUserByEmail(String email);
}
